

from huobi.model.trade.order_update_event import OrderUpdateEvent
from huobi.model.market.trade_detail_event import TradeDetailEvent
from huobi.exception.huobi_api_exception import HuobiApiException
from huobi.utils import Log

def on_order_update_callback(order_update_event: 'OrderUpdateEvent'):
    pass

def on_trade_detail_callback(trade_event: 'TradeDetailEvent'):
    pass

def on_error_handler(e: 'HuobiApiException'):
    Log.critical(str(e.error_code) + e.error_message)